package com.qf.vo;

import lombok.*;

/**
 * <p>title: com.qf.vo</p>
 * <p>Company: wendao</p>
 * author zhuximing
 * date 2021/9/15
 * description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class Result<T> {
    @NonNull
    private boolean success;
    @NonNull
    private String msg;

    private T data;
    //业务编码
    private String bizCode;

    public Result(@NonNull boolean success, @NonNull String msg, T data) {
        this.success = success;
        this.msg = msg;
        this.data = data;
    }
}